package de.fuberlin.inf.alp3.ue09;

public interface Node {
    void add(Node neighbour);
    void setVisited(boolean b);
    boolean visited();
    boolean iterate(Action a);
    interface Action { boolean act(Node x); }
}
